package centralizedme;

/**
 *
 * @author palexander
 */
public class FoafGivenName extends RdfProperty {
    // givenname of the person this foaf document refers to
    private String givenname;
    // the name for this property
    private final String propName = "foaf:givenname";

    /**
     * Constructor for foafName, relies on RdfProperty super constructor.
     * @param givenname  <code>String</code> of the property's givenname.
     */
    public FoafGivenName(String givenname) {
        super("foaf:givenname");
        this.givenname = givenname;
    }

    /**
     * Represent this property as a string.
     * @return  <code>String</code> representation of this property.
     */
    public String toString() {
        return getOpenProp() + givenname + getCloseProp();
    }
}
